import request from '@/utils/request'

export const loginAPI = (data) => {
  return request({ url: '/park/login', method: 'post', data })
}
export const getUserInfoAPI = () => {
  return request({ url: '/park/user/profile' })
}

export const upDataAPI = (data) => {
  return request({ rul: '/park/profile/updatePwd', method: 'put', data })
}

